namespace ContosoUniversity.Domain.Core.Behaviours
{
    using NRepository.Samples.Core.Domain;
    using NRepository.Samples.Core.Domain.Validation;

    public class UpdateCourseCreditsResponse : DomainResponse
    {
        public UpdateCourseCreditsResponse(int rowsEffected)
            : base(new ValidationMessageCollection())
        {
            RowsEffected = rowsEffected;
        }

        public UpdateCourseCreditsResponse(ValidationMessageCollection validationDetails)
            : base(validationDetails)
        {
        }

        public int? RowsEffected { get; }

    }
}
